<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta
            http-equiv="Content-Type"
            content="text/html; charset=UTF-8"
    >
    <title>详细信息</title>

    <style>
        body {
            font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: #2c3e50;
            margin: 0;
            padding: 40px 20px;
            min-height: 100vh;
        }

        .info-card {
            background: rgba(255, 255, 255, 0.95);
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            max-width: 800px;
            margin: 0 auto;
            transform: translateY(0);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        h2 {
            color: #2c3e50;
            text-align: center;
            margin-bottom: 30px;
            font-size: 2.2em;
            font-weight: 600;
            position: relative;
            padding-bottom: 15px;
        }

        h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #3498db, #2ecc71);
            border-radius: 2px;
        }

        .info-section {
            margin-bottom: 25px;
            padding: 20px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.5);
            transition: all 0.3s ease;
            border: 1px solid rgba(52, 152, 219, 0.1);
        }

        .info-section:hover {
            transform: scale(1.01);
            border-color: rgba(52, 152, 219, 0.3);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .info-label {
            font-weight: bold;
            color: #3498db;
            margin-bottom: 10px;
            font-size: 1.1em;
            border-left: 4px solid #3498db;
            padding-left: 10px;
        }

        .info-content {
            font-size: 1.1em;
            line-height: 1.8;
            color: #34495e;
            padding: 0 10px;
        }

        .nav-links {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 30px;
        }

        .nav-button {
            display: inline-block;
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            padding: 12px 25px;
            text-decoration: none;
            border-radius: 25px;
            transition: all 0.3s ease;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
        }

        .nav-button:hover {
            background: linear-gradient(135deg, #2980b9, #2c3e50);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
        }

        .awards-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .award-item {
            padding: 8px 0;
            margin: 5px 0;
            position: relative;
            padding-left: 25px;
        }

        .award-item::before {
            content: '★';
            position: absolute;
            left: 0;
            color: #f1c40f;
        }

        @media (max-width: 600px) {
            .info-card {
                padding: 20px;
            }

            h2 {
                font-size: 1.8em;
            }

            .nav-links {
                flex-direction: column;
                align-items: center;
            }

            .nav-button {
                width: 80%;
                text-align: center;
            }
        }
    </style>
</head>

<body>
<div class="info-card">
    <h2>#{name}的详细信息</h2>

    <div class="info-section">
        <div class="info-label">兴趣爱好</div>
        <div class="info-content">#{hobby}</div>
    </div>

    <div class="info-section">
        <div class="info-label">技能特长</div>
        <div class="info-content">#{skills}</div>
    </div>

    <div class="info-section">
        <div class="info-label">联系邮箱</div>
        <div class="info-content">#{email}</div>
    </div>

    <div class="info-section">
        <div class="info-label">获得奖项</div>
        <div class="info-content">#{awards}</div>
    </div>

    <div class="nav-links">
        <a
                href="/"
                class="nav-button"
        >返回首页</a>
        <a
                href="/index"
                class="nav-button"
        >个人简介</a>
    </div>
</div>
</body>

</html>